package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Setter
@Getter
@JsonIgnoreProperties(value = {"handler"})
public class StrategyComment extends BaseDomain{
    private String content;
    private String star;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date releaseTime;
    private User user;
    private Strategy strategy;
    private List<StrategyCustomImg> imgList = new ArrayList<>();
    private List<StrategyLabel> labelList = new ArrayList<>();
    private Integer number;
}